package com.suyang.syt.model.dto;

import com.suyang.syt.model.UserRole;

@SuppressWarnings("serial")
public class UserRoleDTO extends UserRole {

	/** 用户名 */
	private String userName;

	/** 角色名 */
	private String roleName;

	public UserRoleDTO() {

	}

	public UserRoleDTO(UserRole userRole) {
		this.setId(userRole.getId());
		this.setCreateName(userRole.getCreateName());
		this.setCreateTime(userRole.getCreateTime());
		this.setModifyName(userRole.getModifyName());
		this.setModifyTime(userRole.getModifyTime());
		this.setUserId(userRole.getUserId());
		this.setRoleId(userRole.getRoleId());
		this.setStatus(userRole.getStatus());
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

}
